package com.yf.ccdugtfood.bean;

import java.util.List;

/**
 * 用户实体类
 */
public class User {
    private int id;              //用户id
    private String user_name;    //用户名
    private String password;     //密码
    private String user_phone;   //手机号码，作为登录账号
    private int role;            //用户角色
    private List<Address> addressList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUser_phone() {
        return user_phone;
    }

    public void setUser_phone(String user_phone) {
        this.user_phone = user_phone;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }
}
